#  -*- coding:utf-8 -*- 
"""
@ author: 罗金盛
@ time: 2024/5/27 
@ file: main.py

"""
from src.spider.report_information import ReportInformation
from src.config import LoggerConfig, Config
import logging

# 配置日志
LoggerConfig.configure_logger('log/sn-audit-report.log')
logging = logging.getLogger('ReportInformation')

if __name__ == "__main__":
    try:
        report_info = ReportInformation()
        report_info.get_login_status()
    except Exception as e:
        logging.error(f"主程序运行时发生错误: {e}", exc_info=True)
